package com.javaweb.controller;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/10/30 11:31
 */

import com.javaweb.controller.common.ResponseResult;
import com.javaweb.controller.common.UserDto;

import javax.servlet.http.HttpSession;

/**
 * todo: 实现用户登录
 *
 */
public class UserController {

    /**
     * todo: 按照正常登录逻辑
     * 1. 验证用户名密码
     * 2. 存在session中
     * @param userDto
     * @return
     */
    public ResponseResult<String> login(HttpSession session, UserDto userDto) {
        return null ;
    }
}
